package com.erp.common.web;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

public class BBAForm extends ActionForm {
    private String statCode = "0";
    private String isDumpInsert;
    private String isSuppressQuotes;
    private String isUsePre;
    private String isClear;
    private String isIgnoreError;
    private String isShowRealName;
    private String isSingleStmt;
    private String inputQuery;
    private String outputHTML;

    private FormFile theFile;

    public String getStatCode() {
        return statCode;
    }

    public String getIsDumpInsert() {
        return isDumpInsert;
    }

    public String getIsSuppressQuotes() {
        return isSuppressQuotes;
    }

    public String getIsUsePre() {
        return isUsePre;
    }

    public String getIsClear() {
        return isClear;
    }

    public String getIsIgnoreError() {
        return isIgnoreError;
    }

    public String getIsSingleStmt() {
        return isSingleStmt;
    }

    public String getIsShowRealName() {
        return isShowRealName;
    }

    public String getInputQuery() {
        return inputQuery;
    }

    public String getOutputHTML() {
        return outputHTML;
    }

    public FormFile getTheFile() {
        return theFile;
    }

    public void setStatCode(String statCode) {
        this.statCode = statCode;
    }

    public void setIsDumpInsert(String isDumpInsert) {
        this.isDumpInsert = isDumpInsert;
    }

    public void setIsSuppressQuotes(String isSuppressQuotes) {
        this.isSuppressQuotes = isSuppressQuotes;
    }

    public void setIsUsePre(String isUsePre) {
        this.isUsePre = isUsePre;
    }

    public void setIsClear(String isClear) {
        this.isClear = isClear;
    }

    public void setIsIgnoreError(String isIgnoreError) {
        this.isIgnoreError = isIgnoreError;
    }

    public void setIsSingleStmt(String isSingleStmt) {
        this.isSingleStmt = isSingleStmt;
    }

    public void setIsShowRealName(String isShowRealName) {
        this.isShowRealName = isShowRealName;
    }

    public void setInputQuery(String inputQuery) {
        this.inputQuery = inputQuery;
    }

    public void setOutputHTML(String outputHTML) {
        this.outputHTML = outputHTML;
    }

    public void setTheFile(FormFile theFile) {
        this.theFile = theFile;
    }

    public void otherReset(ActionMapping mapping, HttpServletRequest request) {
        String emptyString = "";
        isDumpInsert = emptyString;
        isShowRealName = emptyString;
        isUsePre = emptyString;
        isClear = emptyString;
        isIgnoreError = emptyString;
        isShowRealName = emptyString;
    }

}
